﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PB.Airsoft.Business.Base;
using PB.Airsoft.Business.Shop.Interfaces;
using PB.Airsoft.Business.Shop.Entities;
using PB.Airsoft.Business.User.Interfaces;
using PB.Airsoft.Business.Item.Interfaces;

namespace PB.Airsoft.Business.Shop
{
    public class ShopManager : ManagerBase<ShopProvider>
    {
        public static List<IShopLot> GetShopLots(ShopType shopType)
        {
            return Provider.GetShopLots(shopType);
        }

        public static void Buy(Guid shopLotId, Guid buyerId)
        {
            Provider.Buy(shopLotId, buyerId);
        }

        public static void Sell(IItem itemToSell, decimal money, Guid sellerId)
        {
            Provider.Sell(itemToSell, money, sellerId);
        }
    }
}
